package com.crawler.repitle;

import com.hankcs.hanlp.HanLP;
import com.hankcs.hanlp.dictionary.CustomDictionary;

public class WordSplitter {
    public static void main(String[] args) {
        CustomDictionary.add("攻城狮");
        System.out.println(HanLP.segment("攻城狮一路也遇到了不少坑"));
    }
}
